﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BesAsm.Framework.Reporting
{
  /// <summary>
  /// Event handler for a reportable message
  /// </summary>
  public class MessageReportedArgs : EventArgs
  {
    ReportableMessage _message;

    /// <summary>
    /// Initializes a new instance of the <see cref="MessageReportedArgs"/> class.
    /// </summary>
    /// <param name="message">The message.</param>
    public MessageReportedArgs(ReportableMessage message)
      : base()
    {
      _message = message;
    }

    /// <summary>
    /// Gets the message.
    /// </summary>
    public ReportableMessage Message
    {
      get { return _message; }
    }
  }
}
